package androidx.gdata.spreadsheets.xml;

import org.w3c.dom.Node;

import androidx.gdata.spreadsheets.GSX;
import androidx.xml.XMLBuilder;

public class GSXDeserializer extends XMLBuilder<GSX> {

  @Override
  public GSX build(Node elementNode) {
    node = elementNode;
    String column = elementNode.getNodeName().substring(
        "gsx:".length());
    String content = getText();
    return new GSX(column, content);
  }

}
